package polymorphic;

class Person{
    public String name;
    private Person(String name){
        this.name=name;
    }
    public static void func(){
        Person person=new Person("xiaohua");
    }
}
public class TestDemo2 {
    public static void main(String[] args) {
        Person.func();
    }
}
